package loc.dd.service;

import java.util.HashMap;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import loc.dd.entity.Progress;
import loc.dd.entity.Project;
import loc.dd.mapper.ProcessMapper;

/**
*@author 作者：huyaqi
*@version 创作时间:2023年12月5日下午1:51:16
*
*/

@Service
public class ProcessService {
	@Autowired 
	ProcessMapper processMapper;
	
	public int addProgress(Progress progress) {
		return processMapper.addProgress(progress);
	}
	
	public int editProgress(Progress progress) {
		return processMapper.editProgress(progress);
	}
	
	public HashMap<String , Object> getmessage(int id){
		return processMapper.getmessage(id);
	}
	
	public String getabilitynameID(String name) {
		return processMapper.getabilitynameID(name);
	}
	
	
}
